package com.gtamos.dicebot.gambling.game;

import java.math.BigDecimal;

import com.gtamos.dicebot.constants.DiceBotConstants;

/**
 * 
 * @author gtamos
 * 
 * Play a game where chance to win is 95%
 *
 */

public class NinetyFiveGambling extends AbstractGambling{
	
	private final Long GUESS_LOW = 0L;
	private final Long GUESS_HIGH = 949999L;
	private final Double CHANCE_TO_WIN = 0.95;
	private final Double CHANCE_TO_LOSS = 0.05;
	private final BigDecimal BET_MULTIPLIER = new BigDecimal("21");
	private final BigDecimal BET_INVERSION_PERCENT = new BigDecimal("0.0001");
	private final BigDecimal EXTRA_SATOSHIS_MULTIPLIER = new BigDecimal("0.00003333333333");
	
	public Integer getMaxConsecutiveLossesSupport(){
		return super.getMaxConsecutiveLossesSupport(CHANCE_TO_LOSS);
	}

	/**
	 * @return the gUESS_LOW
	 */
	@Override
	public Long getGUESS_LOW() {
		return GUESS_LOW;
	}

	/**
	 * @return the gUESS_HIGH
	 */
	@Override
	public Long getGUESS_HIGH() {
		return GUESS_HIGH;
	}

	/**
	 * @return the cHANCE_TO_WIN
	 */
	@Override
	public Double getCHANCE_TO_WIN() {
		return CHANCE_TO_WIN;
	}

	/**
	 * @return the cHANCE_TO_LOSS
	 */
	@Override
	public Double getCHANCE_TO_LOSS() {
		return CHANCE_TO_LOSS;
	}

	/**
	 * @return the bET_MULTIPLIER
	 */
	@Override
	public BigDecimal getBET_MULTIPLIER() {
		return BET_MULTIPLIER;
	}

	/**
	 * @return the bET_INVERSION_PERCENT
	 */
	@Override
	public BigDecimal getBET_INVERSION_PERCENT() {
		return BET_INVERSION_PERCENT;
	}

	/**
	 * @return the eXTRA_SATOSHIS_MULTIPLIER
	 */
	@Override
	public BigDecimal getEXTRA_SATOSHIS_MULTIPLIER() {
		return EXTRA_SATOSHIS_MULTIPLIER;
	}
	
	
	

}
